//引入封装的公共的请求插件
import { POST } from '@/services/request.js'

export default {
    orderAdd(data = {})
    {
        return POST({
            url:'/order/add',
            params:data
        })
    },
    orderBuynow(data = {})
    {
        return POST({
            url:'/order/buynow',
            params:data
        })
    },
    orderIndex(data = {})
    {
        return POST({
            url:'/order/index',
            params:data
        })
    },
    orderInfo(data = {})
    {
        return POST({
            url:'/order/info',
            params:data
        })
    },
    orderExpress(data = {})
    {
        return POST({
            url:'/order/express',
            params:data
        })
    },
    orderReceipt(data = {})
    {
        return POST({
            url:'/order/receipt',
            params:data
        })
    },
    orderRetreat(data = {})
    {
        return POST({
            url:'/order/retreat',
            params:data
        })
    },
    orderInfoPro(data = {})
    {
        return POST({
            url:'/order/infoproduct',
            params:data
        })
    },
    orderRate(data = {})
    {
        return POST({
            url:'/order/rate',
            params:data
        })
    },
    expresslist(data = {})
    {
        return POST({
            url:'/order/expresslist',
            params:data
        })
    },
    orderRefundgoods(data = {})
    {
        return POST({
            url:'/order/refundgoods',
            params:data
        })
    },
    orderRefundinfo(data = {})
    {
        return POST({
            url:'/order/refundinfo',
            params:data
        })
    },
}